package cate.common.table.pvp.eliterace;

import cate.common.table.ESheet;
import org.apache.commons.collections4.CollectionUtils;

import java.util.Collection;

public class EliteRaceRedPackageSheet extends ESheet<EliteRaceRedPackageRow> {
    @Override
    public String getSheetName() {
        return "冠军赛红包";
    }

    public EliteRaceRedPackageRow findOne() {
        if (CollectionUtils.isEmpty(list)) {
            return null;
        }
        return getList().get(0);
    }
}
